home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5193 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  917 b 

  1. Path: news.america.com!not-for-mail
  2. From: ngreen@enterprise.america.com (Nils Green)
  3. Newsgroups: comp.lang.c
  4. Subject: Packing numbers ?????
  5. Date: 8 Feb 1996 08:38:51 -0500
  6. Organization: PSS InterNet Services, InterNet in Fl 904 253 7100
  7. Message-ID: <4fcudb$gnm@enterprise.america.com>
  8. NNTP-Posting-Host: enterprise.america.com
  9. Keywords: numbers
  10. X-Newsreader: NN version 6.5.0 #5
  11.  
  12. Need advice please.
  13.  
  14. I need to be able to pack a 6 digit number in a 4 digit number.  The 
  15. numbers are julian dates, and we need the ability of storing them as
  16. 4 digit numbers.  Are there any algorithms, preferably not too complex, 
  17. that can accomplish this?
  18.  
  19. Please reply via e-mail, since I infrequently browse throught this group.
  20.  
  21.  
  22. Thanks
  23.  Nils Green
  24.  
  25.  
  26.  
  27. -- 
  28. **********************************
  29. *  If God is omnipotent, can he  *
  30. *   make a rock so heavy that    *
  31. *      he cannot lift it ??      *
  32. **********************************
  33.